package cn.stylefeng.guns.modular.business.frequency.ordercontract.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单合同
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tt_order_contract")
public class OrderContract extends BaseEntity {

    /**
     * 订单id
     */
    @TableId("order_id")
    private Long orderId;

    /**
     * 合同地址
     */
    @TableField("path")
    private String path;

    /**
     * 是否可以重新生成 1.是 0.否
     */
    @TableField("can_redo")
    private Integer canRedo;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;
}
